package com.smartwebx.ha.dal.usebean;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import com.google.common.collect.Lists;

/**
 * 简单的站群 Bean 有站群名、站群码、站群下各个站码，排序
 * 
 * @author XX
 * 
 */
public class SimpleStatGroup implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String astnm;
	private String astcd;
	private List<String> stcds = Lists.newArrayList();
	private Double value;
	private String ord;

	public String getOrd() {
		return ord;
	}

	public void setOrd(String ord) {
		this.ord = ord;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public String getAstcd() {
		return astcd;
	}

	public void setAstcd(String astcd) {
		this.astcd = astcd;
	}

	public List<String> getStcds() {
		return stcds;
	}

	public void setStcds(String stcd) {
		this.stcds.add(stcd);
	}

	public void setStcds(Collection<String> stcds) {
		this.stcds = Lists.newArrayList(stcds);
	}

	public String getAstnm() {
		return astnm;
	}

	public void setAstnm(String astnm) {
		this.astnm = astnm;
	}

}
